package io.bhex.sdk.account.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

/**
 * ================================================
 * 作   者：ppzhao
 * 创建时间：2020-02-17
 * 邮   箱：
 * 描   述：
 * ================================================
 */

public class QuickAuthCreateResponse extends BaseResponse {


    /**
     * needCheckPassword : false
     * requestId : q81DsfsA1E8YMn6ElzDc9hsxUM3WZ5t6
     * nationalCode : 86
     * mobile : 186****1314
     * email :
     * userId : 563496175450512128
     * defaultAccountId : 563496175628478208
     * registerType : 1
     * user : {"userId":"563496175450512128","registerType":1,"mobile":"****5299","nationalCode":"1","email":"","bindGA":false,"bindTradePwd":false,"bindPassword":false,"userType":1,"verifyStatus":0,"kycLevel":0,"kycVerifyStatus":0,"displayLevel":"","accounts":[],"defaultAccountId":"563496175628478208","registerDate":"1581909978978","source":"","inviteUserId":"0","secondLevelInviteUserId":"0","isAgent":0,"customLabelList":[]}
     * oAuthCodeResult : {"code":"oklT2DlANp9KO8paIE9zwhi1HQpbwyzC","expired":"1559456286064","state":"SELECT","redirectUrl":"oauth callback url"}
     */

    private boolean needCheckPassword;
    private String requestId;
    private String nationalCode;
    private String mobile;
    private String email;
    private String userId;
    private String defaultAccountId;
    private int registerType;
    private UserInfoBean user;
    private OAuthCodeResultBean oAuthCodeResult;

    public boolean isNeedCheckPassword() {
        return needCheckPassword;
    }

    public void setNeedCheckPassword(boolean needCheckPassword) {
        this.needCheckPassword = needCheckPassword;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getNationalCode() {
        return nationalCode;
    }

    public void setNationalCode(String nationalCode) {
        this.nationalCode = nationalCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDefaultAccountId() {
        return defaultAccountId;
    }

    public void setDefaultAccountId(String defaultAccountId) {
        this.defaultAccountId = defaultAccountId;
    }

    public int getRegisterType() {
        return registerType;
    }

    public void setRegisterType(int registerType) {
        this.registerType = registerType;
    }

    public UserInfoBean getUser() {
        return user;
    }

    public void setUser(UserInfoBean user) {
        this.user = user;
    }

    public OAuthCodeResultBean getOAuthCodeResult() {
        return oAuthCodeResult;
    }

    public void setOAuthCodeResult(OAuthCodeResultBean oAuthCodeResult) {
        this.oAuthCodeResult = oAuthCodeResult;
    }

    public static class OAuthCodeResultBean {
        /**
         * code : oklT2DlANp9KO8paIE9zwhi1HQpbwyzC
         * expired : 1559456286064
         * state : SELECT
         * redirectUrl : oauth callback url
         */

        @SerializedName("code")
        private String codeX;
        private String expired;
        private String state;
        private String redirectUrl;

        public String getCodeX() {
            return codeX;
        }

        public void setCodeX(String codeX) {
            this.codeX = codeX;
        }

        public String getExpired() {
            return expired;
        }

        public void setExpired(String expired) {
            this.expired = expired;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getRedirectUrl() {
            return redirectUrl;
        }

        public void setRedirectUrl(String redirectUrl) {
            this.redirectUrl = redirectUrl;
        }
    }
}
